package com.fashiontextile.designer.entity;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;

/**
 * @author brooke_zb
 */
@AllArgsConstructor
public enum Gender {
    MALE("男"),
    FEMALE("女"),
    UNKNOWN("未知");

    private String name;

    @JsonValue
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
